﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowCore2210A.Application.Dto.Input
{
    /// <summary>
    /// 流程发起
    /// </summary>
    public class WorkflowStartInput
    {
        /// <summary>
        /// 流程定义ID
        /// </summary>
        public string WorkflowDefinitionId { get; set; }

        public int Version { get; set; } = 1;

        /// <summary>
        /// 请假表单数据
        /// </summary>
        public string FormData { get; set; }


        //TODO: 发起人，等登录功能完成之时，需要将下面两个字段移除掉
        public long UserId { get; set; }
        public string UserName { get; set; }

        /// <summary>
        /// 流程实例标题
        /// </summary>
        public string Title { get; set; }
    }
}
